﻿<%@ Page Language="C#" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <style type="text/css">
        .demo ul { list-style-type: none; margin: 0; padding: 0; margin-bottom: 10px; }
        .demo li { margin: 5px; padding: 5px; width: 150px; }
    </style>
</head>
<body>
    <form id="form1" runat="server">
    <asp:ScriptManager ID="ScriptManager1" runat="server" />
    <DotNetAge:SimpleListView ID="SimpleListView2" runat="server" Items-Capacity="4"
        CssClass="ui-helper-reset demo" ItemCssClass="ui-helper-reset ui-state-highlight ui-corner-all droppable">
        <DotNetAge:SimpleListItem Text="Item1" />
    </DotNetAge:SimpleListView>
    <DotNetAge:SimpleListView ID="SimpleListView1" runat="server" Items-Capacity="4"
        CssClass="ui-helper-reset demo" ItemCssClass="ui-helper-reset ui-state-default ui-corner-all">
        <DotNetAge:SimpleListItem Text="Item1" />
        <DotNetAge:SimpleListItem Text="Item2" />
        <DotNetAge:SimpleListItem Text="Item3" />
    </DotNetAge:SimpleListView>
    <DotNetAge:Draggable ID="Draggable1" runat="server" DragHelper="Clone" Revert="Valid">
        <Target Selector=".droppable" />
        <ConnectToSortable TargetID="SimpleListView1>ul" />
    </DotNetAge:Draggable>
    <DotNetAge:Sortable ID="Sortable1" runat="server">
        <Target TargetID="SimpleListView1>ul" />
    </DotNetAge:Sortable>
    </form>
</body>
</html>
